package shmged.com.shlcm.projects;

import java.io.File;
import java.io.Serializable;

public class CmAmFile implements Serializable{
	private static final long serialVersionUID = 1L;
	private String path;
	private String fieldName;
	private String filePathName;
	private String fileName;
	private String fileExt;
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public String getFilePathName() {
		return filePathName;
	}
	public void setFilePathName(String filePathName) {
		this.filePathName = filePathName;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFileExt() {
		return fileExt;
	}
	public void setFileExt(String fileExt) {
		this.fileExt = fileExt;
	}
	
	public void delete(){
		File file = new File(path);
		file.delete();
	}
	
	public File getFile(){
		return new File(path);
	}

}
